<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{course_desc}</title>
<link rel="shortcut icon" href="{dir_image}favicon.ico">
<link rel="stylesheet" type="text/css" href="{dir_css}Global.css" />
<link rel="stylesheet" type="text/css" href="{dir_css}Popup.css" />
<link rel="stylesheet" type="text/css" href="{dir_css}Dean.css" />
<link rel="stylesheet" type="text/css" href="{dir_css}Students.css" />
<link rel="stylesheet" type="text/css" href="{dir_css}jquery.mCustomScrollbar.css" />

<script type="text/javascript" src="{dir_js}jquery.min.js"></script>
<script type="text/javascript" src="{dir_js}jquery.mCustomScrollbar.concat.min.js"></script>
<script type="text/javascript">
	
	$(document).ready(function() {
		
		$(".print-preview-subject").mCustomScrollbar({
			scrollInertia:120
		});
		
		if ($('#if_display').val() == 1) {
			parent.window.location.reload();
		}
		if ($('#w_error').val() > 0) {
			$('#d_error').text('Please fill up all the Required Field');
		}
	});
	
	function submitRequestSectionForm(status) {
		$('#accept_status').val(status);
		$('#form_request_section').submit();
	}
	
</script>
	
</head>
<body class="print-preview-subject">
	<input type="hidden" id="if_display" value="{if_display}"/>
	<input type="hidden" id="w_error" value="{w_error}"/>
	<form method="post" enctype="multipart/form-data" action="" id="form_request_section">
	<input type="hidden" id="accept_status" name="accept_status"/>
	<div class="semester-page-width"><span style="font-weight:normal;"><em>Student Name:</em></span> {name}</div>
	<div class="semester-page-width"><span style="font-weight:normal;"><em>School Year:</em></span> {sy_label}</div>
	<div class="semester-page-width"><span style="font-weight:normal;"><em>Course:</em></span> {course_label}</div>
	<div class="semester-page-width"><span style="font-weight:normal;"><em>Section:</em></span> Irregular Student</div>
		<br />
		<table width="0" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td width="160" height="1"></td>
				<td width="20"></td>
				<td width="490"><span class="required-field" id="d_error"></span></td>
			</tr>
			<tr>
				<td height="30" colspan="3"><div class="semester-page-width"><span style="font-weight:normal;"><em>Requested Schedule</em></span></div></td>
			</tr>
			<tr>
				<td colspan="3" valign="top">
					<table width="0" border="0" cellspacing="0" cellpadding="0">
						<tr class="tr-header" align="left">
							<td width="90" class="table-td-label">Subject</td>
							<td width="80" class="table-td-label">Day</td>
							<td width="120" class="table-td-label">Time</td>
							<td width="90" class="table-td-label">Section</td>
							<td width="80" class="table-td-label">Class</td>
							<td width="135" class="table-td-label">Professor</td>
						</tr>
						<!-- BEGIN students -->
							{request_listing}
						<!-- END students -->
					</table>
				</td>
			</tr>
			<tr valign="bottom">
				<td height="50"></td>
				<td></td>
				<td>
					<input type="button" id="subAccept" class="submit-input-green" value="Accept" onclick="submitRequestSectionForm('Y')"/>
					<input type="button" id="subDenied" class="submit-input" value="Denied" onclick="submitRequestSectionForm('N')"/>
					<input type="button" onclick="parent.popupRequest('hide');" class="submit-input-grey" value="Cancel"/></td>
			</tr>
		</table>
	</form>
<br />
</body>
</html>